<template>
  <view :style="themeColor">
    <view class="page">
      <fu-custom bgColor="bg-white" :isBack="true" :isBottom="true">
        <block slot="content">选择游戏</block>
      </fu-custom>
      <!---flex布局flex布局开始-->
      <view class="flex benben-flex-layout flex-wrap align-center">
        <template v-for='(item,key0) in dataList'>
          <view class='flex flex-wrap align-center xuanzeyouxi_fd1_0' :key='key0'>
            <image class='xuanzeyouxi_fd1_0_c0' mode="aspectFill" :src='item.image'></image>
            <view class='flex flex-direction flex-wrap align-stretch xuanzeyouxi_fd1_0_c1'>
              <text class='xuanzeyouxi_fd1_0_c1_c0'>{{item.title}}</text>
              <text class='xuanzeyouxi_fd1_0_c1_c1'>{{item.end_time}}</text>
            </view>
          </view>
        </template>

      </view>

      <!---flex布局flex布局结束-->


    </view>
  </view>
</template>
<script>
  import {
    validate
  } from '@/common/utils/validate.js'
  export default {
    components: {},


    data() {
      return {
        "dataList": []
      };
    },
    computed: {
      themeColor() {
        return this.$store.getters.themeColor
      },

    },
    watch: {},
    onLoad(options) {
      this.getxa6572ae5ac763dFunc()
    },
    onUnload() {

    },
    onReady() {

    },
    onShow() {

    },
    onHide() {

    },
    onResize() {

    },
    onPullDownRefresh() {

    },
    onReachBottom(e) {

    },
    onPageScroll(e) {

    },
    methods: {
      //发布互动游戏-获取游戏列表
      async getxa6572ae5ac763dFunc() {
        //请求方法
        //数据验证

        let datadataList = await this.$api.post(global.apiUrls.post6572ae5ac763d, {

        });

        if (datadataList.data.code != 1) {
          this.$message.info(datadataList.data.msg);
          return
        }
        let infodataList = datadataList.data;
        this.dataList = infodataList.data

      }
    }
  };
</script>
<style lang="scss" scoped>
  .page {
    width: 100vw;
    overflow-x: hidden;
    min-height: calc(100vh - var(--window-bottom));
    background: var(--benbenbgColor1);
    background-size: 100% auto;
  }

  .xuanzeyouxi_flex_0 {
    background: #fff;
    width: 750rpx;
    height: 88rpx;
    overflow: hidden;
    z-index: 10;
    top: 0rpx;
    background-size: 100% auto !important;
  }

  .xuanzeyouxi_fd0_0_c1_c0 {
    font-size: 36rpx;
    font-weight: 500;
    color: #333333;
    line-height: 88rpx;
  }

  .xuanzeyouxi_fd0_0_c0_c0 {
    font-size: 36rpx;
    color: #333;
  }

  .xuanzeyouxi_fd0_0_c0 {
    width: 120rpx;
  }

  .xuanzeyouxi_fd0_0 {
    padding: 0rpx 32rpx 0rpx 32rpx;
  }

  .xuanzeyouxi_fd1_0_c1_c1 {
    color: #999999;
    font-size: 24rpx;
    font-weight: 500;
    margin: 12rpx 0rpx 0rpx 0rpx;
  }

  .xuanzeyouxi_fd1_0_c1_c0 {
    color: #333333;
    font-size: 32rpx;
    font-weight: 700;
  }

  .xuanzeyouxi_fd1_0_c1 {
    margin: 0rpx 0rpx 0rpx 24rpx;
  }

  .xuanzeyouxi_fd1_0_c0 {
    width: 112rpx;
    height: 112rpx;
    border-radius: 16rpx;
  }

  .xuanzeyouxi_fd1_0 {
    border-bottom: 1px solid #eee;
    width: 686rpx;
    margin: 0rpx auto 0rpx auto;
    padding: 32rpx 0rpx 32rpx 0rpx;
  }
</style>